package com.p2p.account.po;

import com.p2p.common.base.BaseModel;

public class Agent extends BaseModel {

    private String agentCode;

    private String agentName;

    private String username;

    private String password;

    private Long oneLevelId;

    private Long towLevelId;

    private Integer agentLevel;

    private String towLevelCommissionRate;

    private Integer isLogin;

    private Integer isProtocol;

    private Integer c1;

    private Integer c2;



    private Long groupId;

    public String getAgentCode() {
        return agentCode;
    }

    public void setAgentCode(String agentCode) {
        this.agentCode = agentCode == null ? null : agentCode.trim();
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Long getOneLevelId() {
        return oneLevelId;
    }

    public void setOneLevelId(Long oneLevelId) {
        this.oneLevelId = oneLevelId;
    }


    public Long getTowLevelId() {
        return towLevelId;
    }

    public void setTowLevelId(Long towLevelId) {
        this.towLevelId = towLevelId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Integer getAgentLevel() {
        return agentLevel;
    }

    public void setAgentLevel(Integer agentLevel) {
        this.agentLevel = agentLevel;
    }

    public String getTowLevelCommissionRate() {
        return towLevelCommissionRate;
    }

    public void setTowLevelCommissionRate(String towLevelCommissionRate) {
        this.towLevelCommissionRate = towLevelCommissionRate == null ? null : towLevelCommissionRate.trim();
    }

    public Integer getIsLogin() {
        return isLogin;
    }

    public void setIsLogin(Integer isLogin) {
        this.isLogin = isLogin;
    }

    public Integer getIsProtocol() {
        return isProtocol;
    }

    public void setIsProtocol(Integer isProtocol) {
        this.isProtocol = isProtocol;
    }

    public Integer getC1() {
        return c1;
    }

    public void setC1(Integer c1) {
        this.c1 = c1;
    }

    public Integer getC2() {
        return c2;
    }

    public void setC2(Integer c2) {
        this.c2 = c2;
    }


}